package com.turingoal.common.util.templet;


public class ThymeleafUtil {

	// public static void createHmtl() {
	// // 静态页面路径
	// String htmlPath = "d:/html" + "/" + "test.html";
	// File htmlFile = new File(htmlPath);
	// WebContext ctx = new WebContext(request, response, request.getServletContext(), request.getLocale());
	// try {
	// Writer out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(htmlFile), "UTF-8"));
	// templateEngine.process("about", ctx, out);
	// out.flush();
	// out.close();
	// } catch (IOException e) {
	// // TODO Auto-generated catch block
	// e.printStackTrace();
	// }
	// }
}
